package model;

import java.util.ArrayList;
import java.util.List;

public class User {

    public User(long id, String username, String password, int age, String phone, double money) {
        this.uid = id;
        this.username = username;
        this.password = password;
        this.age = age;
        this.phone = phone;
        this.money = money;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }



    private long uid;
    private String username;
    private String password;
    private int age;
    private String phone;

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    private double money;

}
